﻿function packageCourseDesign(data){
	ajax({
		url: url.packageCd,
		params : {
			cid : data.cid,
			sid : data.sid,
			isCls : data.isCls
		},
		success : function(obj){
			if(obj.success == false) alert(obj.msg)
			else {
				var urlstr = "http://acm.hfut.edu.cn/DataStruct/" + obj.filepath;
				window.open(urlstr);
			}
		}
	});
}